﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YasharEl.Infrastructure.ApplicationModel.Bootstrap.Extensibility
{
    /// <summary>
    /// Bootstrapping Extension host definition. 
    /// The extension host is responsible for managing extensions.
    /// </summary>
    /// <typeparam name="TExtension">The type of the extension.</typeparam>
    public interface IBootstrappingExtensionHost<TExtension> : IBootstrappingExtensionPoint<TExtension>
        where TExtension : IBootstrappingExtension
    {
        /// <summary>
        /// Gets the extensions.
        /// </summary>
        IEnumerable<TExtension> Extensions { get; }
    }
}
